package cn.kgc.airmanager.mapper;

import cn.kgc.airmanager.pojo.Air;
import cn.kgc.airmanager.pojo.AirExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface AirMapper {
    int countByExample(AirExample example);

    int deleteByExample(AirExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Air record);

    int insertSelective(Air record);

    List<Air> selectByExample(AirExample example);

    List<Air> selectByExample1(AirExample example);

    Air selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Air record, @Param("example") AirExample example);

    int updateByExample(@Param("record") Air record, @Param("example") AirExample example);

    int updateByPrimaryKeySelective(Air record);

    int updateByPrimaryKey(Air record);
}